package com.atguigu.mybatis.mapper;

import com.atguigu.mybatis.pojo.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author mo
 * @Date 2024-04-30 14:59:59
 **/
public interface EmpMapper {

    List<Emp> getEmpListByCondition(Emp emp);

    List<Emp> getEmpListByCondition2(Emp emp);

    List<Emp> getEmpListByCondition3(Emp emp);

    List<Emp> getEmpListByCondition4(Emp emp);

    /**
     * 批量添加员工信息
     * @param emps
     */
    void insertMoreEmp(@Param("emps") List<Emp> emps);

    /**
     * 批量删除
     * @param empIds
     */
    void deleteMoreEmp(@Param("empIds") Integer[] empIds);

}
